<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BImage</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BImage">
			<h1>BImage</h1>
			<p>继承自<a href="BTexture.html">BTexture</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BImage()">BImage</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#BImage(const BString&)">BImage</a>(const BString& fileName);</td></tr>
				<tr><td align="right"></td><td><a href="#BImage(Format)">BImage</a>(Format format);</td></tr>
				<tr><td align="right"></td><td><a href="#BImage(const BSize&, Format)">BImage</a>(const BSize& size, Format format);</td></tr>
				<tr><td align="right"></td><td><a href="#BImage(int, int, Format)">BImage</a>(int width, int height, Format format);</td></tr>
				<tr><td align="right"></td><td><a href="#BImage(const BImage&)">BImage</a>(const BImage& other);</td></tr>
				<tr><td align="right"></td><td><a href="#~BImage()">~BImage</a>();</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#copy(const BTexture*)">copy</a>(const BTexture* other);</td></tr>
				<tr><td align="right">virtual BImage* </td><td><a href="#clone()">clone</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setFileName(const BString&)">setFileName</a>(const BString& fileName);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#fileName()">fileName</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setPolicy(Policy)">setPolicy</a>(Policy policy);</td></tr>
				<tr><td align="right">Policy </td><td><a href="#policy()">policy</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setFormat(Format)">setFormat</a>(Format format);</td></tr>
				<tr><td align="right">Format </td><td><a href="#format()">format</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setSize(int, int)">setSize</a>(int width, int height);</td></tr>
				<tr><td align="right">void </td><td><a href="#setSize(const BSize&)">setSize</a>(const BSize& size);</td></tr>
				<tr><td align="right">const BSize& </td><td><a href="#size()">size</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setWidth(int)">setWidth</a>(int width);</td></tr>
				<tr><td align="right">int </td><td><a href="#width()">width</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setHeight(int)">setHeight</a>(int height);</td></tr>
				<tr><td align="right">int </td><td><a href="#height()">height</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setPixels(const BByteArray&)">setPixels</a>(const BByteArray& pixels);</td></tr>
				<tr><td align="right">void </td><td><a href="#setPixels(BByteArray*)">setPixels</a>(BByteArray* pixels);</td></tr>
				<tr><td align="right">BByteArray* </td><td><a href="#pixels()">pixels</a>();</td></tr>
				<tr><td align="right">const BByteArray* </td><td><a href="#pixels()">pixels</a>() const;</td></tr>
				<tr><td align="right">int </td><td><a href="#fmtlen()">fmtlen</a>() const;</td></tr>
				<tr><td align="right">int </td><td><a href="#rowlen()">rowlen</a>() const;</td></tr>
				<tr><td align="right">BByte* </td><td><a href="#bytes(int)">bytes</a>(int row = 0);</td></tr>
				<tr><td align="right">const BByte* </td><td><a href="#bytes(int)">bytes</a>(int row = 0) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setPixelColor(int, int, const BColor&)">setPixelColor</a>(int x, int y, const BColor& color);</td></tr>
				<tr><td align="right">bool </td><td><a href="#pixelColor(int, int, BColor&)">pixelColor</a>(int x, int y, BColor& color) const;</td></tr>
				<tr><td align="right">BColor </td><td><a href="#pixelColor(int, int)">pixelColor</a>(int x, int y) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#paste(const BRect&, const BImage*)">paste</a>(const BRect& rect, const BImage* image);</td></tr>
				<tr><td align="right">bool </td><td><a href="#paste(int, int, int, int, const BImage*)">paste</a>(int x, int y, int width, int height, const BImage* image);</td></tr>
				<tr><td align="right">bool </td><td><a href="#clone(const BRect&, BImage*)">clone</a>(const BRect& rect, BImage* image) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#clone(int, int, int, int, BImage*)">clone</a>(int x, int y, int width, int height, BImage* image) const;;</td></tr>
				<tr><td align="right">void </td><td><a href="#clear()">clear</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#empty()">empty</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#roll(int)">roll</a>(int direct = 1);</td></tr>
				<tr><td align="right">bool </td><td><a href="#inverse(bool)">inverse</a>(bool alpha = false);</td></tr>
				<tr><td align="right">bool </td><td><a href="#reverse(Orientation)">reverse</a>(Orientation orientation);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#dirty()">dirty</a>() const;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#flush()">flush</a>() const;</td></tr>
				<tr><td align="right">const BImage& </td><td><a href="#operator = (const BImage&)">operator = </a>(const BImage& other);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BImage()">
				<h3>BImage();</h3>
			</div>
			<div id="BImage(const BString&)">
				<h3>BImage(const BString&amp; fileName);</h3>
			</div>
			<div id="BImage(Format)">
				<h3>BImage(Format format);</h3>
			</div>
			<div id="BImage(const BSize&, Format)">
				<h3>BImage(const BSize&amp; size, Format format);</h3>
			</div>
			<div id="BImage(int, int, Format)">
				<h3>BImage(int width, int height, Format format);</h3>
			</div>
			<div id="BImage(const BImage&)">
				<h3>BImage(const BImage&amp; other);</h3>
			</div>
			<div id="~BImage()">
				<h3>~BImage();</h3>
			</div>
			<div id="copy(const BTexture*)">
				<h3>virtual void copy(const BTexture* other);</h3>
			</div>
			<div id="clone()">
				<h3>virtual BImage* clone() const;</h3>
			</div>
			<div id="setFileName(const BString&)">
				<h3>void setFileName(const BString&amp; fileName);</h3>
			</div>
			<div id="fileName()">
				<h3>const BString&amp; fileName() const;</h3>
			</div>
			<div id="setPolicy(Policy)">
				<h3>void setPolicy(Policy policy);</h3>
			</div>
			<div id="policy()">
				<h3>Policy policy() const;</h3>
			</div>
			<div id="setFormat(Format)">
				<h3>void setFormat(Format format);</h3>
			</div>
			<div id="format()">
				<h3>Format format() const;</h3>
			</div>
			<div id="setSize(int, int)">
				<h3>void setSize(int width, int height);</h3>
			</div>
			<div id="setSize(const BSize&)">
				<h3>void setSize(const BSize&amp; size);</h3>
			</div>
			<div id="size()">
				<h3>const BSize&amp; size() const;</h3>
			</div>
			<div id="setWidth(int)">
				<h3>void setWidth(int width);</h3>
			</div>
			<div id="width()">
				<h3>int width() const;</h3>
			</div>
			<div id="setHeight(int)">
				<h3>void setHeight(int height);</h3>
			</div>
			<div id="height()">
				<h3>int height() const;</h3>
			</div>
			<div id="setPixels(const BByteArray&)">
				<h3>bool setPixels(const BByteArray&amp; pixels);</h3>
			</div>
			<div id="setPixels(BByteArray*)">
				<h3>void setPixels(BByteArray* pixels);</h3>
			</div>
			<div id="pixels()">
				<h3>BByteArray* pixels();</h3>
			</div>
			<div id="pixels()">
				<h3>const BByteArray* pixels() const;</h3>
			</div>
			<div id="fmtlen()">
				<h3>int fmtlen() const;</h3>
			</div>
			<div id="rowlen()">
				<h3>int rowlen() const;</h3>
			</div>
			<div id="bytes(int)">
				<h3>BByte* bytes(int row = 0);</h3>
			</div>
			<div id="bytes(int)">
				<h3>const BByte* bytes(int row = 0) const;</h3>
			</div>
			<div id="setPixelColor(int, int, const BColor&)">
				<h3>bool setPixelColor(int x, int y, const BColor&amp; color);</h3>
			</div>
			<div id="pixelColor(int, int, BColor&)">
				<h3>bool pixelColor(int x, int y, BColor&amp; color) const;</h3>
			</div>
			<div id="pixelColor(int, int)">
				<h3>BColor pixelColor(int x, int y) const;</h3>
			</div>
			<div id="paste(const BRect&, const BImage*)">
				<h3>bool paste(const BRect&amp; rect, const BImage* image);</h3>
			</div>
			<div id="paste(int, int, int, int, const BImage*)">
				<h3>bool paste(int x, int y, int width, int height, const BImage* image);</h3>
			</div>
			<div id="clone(const BRect&, BImage*)">
				<h3>bool clone(const BRect&amp; rect, BImage* image) const;</h3>
			</div>
			<div id="clone(int, int, int, int, BImage*)">
				<h3>bool clone(int x, int y, int width, int height, BImage* image) const;;</h3>
			</div>
			<div id="clear()">
				<h3>void clear();</h3>
			</div>
			<div id="empty()">
				<h3>bool empty() const;</h3>
			</div>
			<div id="roll(int)">
				<h3>bool roll(int direct = 1);</h3>
			</div>
			<div id="inverse(bool)">
				<h3>bool inverse(bool alpha = false);</h3>
			</div>
			<div id="reverse(Orientation)">
				<h3>bool reverse(Orientation orientation);</h3>
			</div>
			<div id="dirty()">
				<h3>virtual void dirty() const;</h3>
			</div>
			<div id="flush()">
				<h3>virtual bool flush() const;</h3>
			</div>
			<div id="operator = (const BImage&)">
				<h3>const BImage&amp; operator = (const BImage&amp; other);</h3>
			</div>
		</div>
	</body>
</html>